riscv: Adjust the _exit_trap() position to come before handle_trap()
authorBin Meng <[email protected]>
Wed, 12 Dec 2018 14:12:44 +0000 (06:12 -0800)
committerAndes <[email protected]>
Tue, 18 Dec 2018 01:56:27 +0000 (09:56 +0800)
commit7f5d35a547afb1e4d8e7ca780ab1b9f78ed11d68
tree2bc0d6945628cc8783f257a34d84ac4f0e54b9b6
parent10753ef8fd14dfe1d41ec253966569de19463adc
riscv: Adjust the _exit_trap() position to come before handle_trap()

With this change, we can avoid a forward declaration.

Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Lukas Auer <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
arch/riscv/lib/interrupts.c